from typing import Any

from recruit.adapter.database.models import ResumeInfo
from tests.adapter.models.utils import (
    check_fields,
    check_model_resume,
)


def test_resume_info_model(get_resume_info) -> None:
    check_model_resume(ResumeInfo, get_resume_info)


def test_fields() -> None:
    fields = ('id', 'resume_id', 'name', 'patronymic', 'surname', 'residence')
    check_fields(fields, ResumeInfo)
